CREATE SEQUENCE RY_SHENTONG.SEQ_TABLE_ID INCREMENT BY 1 START WITH 1 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_COLUMN_ID INCREMENT BY 1 START WITH 1 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_CONFIG_ID INCREMENT BY 1 START WITH 12 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_DEPT_ID INCREMENT BY 1 START WITH 110 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_DICT_CODE INCREMENT BY 1 START WITH 30 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_DICT_ID INCREMENT BY 1 START WITH 11 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_JOB_ID  INCREMENT BY 1 START WITH 4 MINVALUE 1 MAXVALUE 9223372036854775807    NO CYCLE    CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_JOB_LOG_ID INCREMENT BY 1 START WITH 1 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_INFO_ID INCREMENT BY 1 START WITH 1 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_MENU_ID INCREMENT BY 1 START WITH 1027 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_NOTICE_ID INCREMENT BY 1 START WITH 3 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_OPER_ID INCREMENT BY 1 START WITH 1 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_POST_ID INCREMENT BY 1 START WITH 5 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_ROLE_ID INCREMENT BY 1 START WITH 3 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

CREATE SEQUENCE RY_SHENTONG.SEQ_USER_ID INCREMENT BY 1 START WITH 3 MINVALUE 1 MAXVALUE 9223372036854775807 NO CYCLE CACHE 1;

--
--Table DDL
--

CREATE TABLE RY_SHENTONG.SYS_JOB
(
    JOB_ID bigint NOT NULL,
    JOB_NAME character varying(64) DEFAULT '' NOT NULL,
    JOB_GROUP character varying(64) DEFAULT 'DEFAULT' NOT NULL,
    INVOKE_TARGET character varying(500) NOT NULL,
    CRON_EXPRESSION character varying(255) DEFAULT '' ,
    MISFIRE_POLICY character varying(20) DEFAULT '3' ,
    CONCURRENT character(1) DEFAULT '1' ,
    STATUS character(1) DEFAULT '0' ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) DEFAULT '' , 
    CONSTRAINT SYS_JOB_PK PRIMARY KEY (JOB_ID, JOB_NAME, JOB_GROUP)
)  
 ;

CREATE TABLE RY_SHENTONG.QRTZ_JOB_DETAILS
(
    SCHED_NAME character varying(120) NOT NULL,
    JOB_NAME character varying(200) NOT NULL,
    JOB_GROUP character varying(200) NOT NULL,
    "DESCRIPTION" character varying(250) ,
    JOB_CLASS_NAME character varying(250) NOT NULL,
    IS_DURABLE character varying(1) NOT NULL,
    IS_NONCONCURRENT character varying(1) NOT NULL,
    IS_UPDATE_DATA character varying(1) NOT NULL,
    REQUESTS_RECOVERY character varying(1) NOT NULL,
    JOB_DATA blob , 
    CONSTRAINT QRTZ_JOB_DETAILS_PK PRIMARY KEY (SCHED_NAME, JOB_NAME, JOB_GROUP)
)  
 ;

CREATE TABLE RY_SHENTONG.QRTZ_TRIGGERS
(
    SCHED_NAME character varying(120) NOT NULL,
    TRIGGER_NAME character varying(200) NOT NULL,
    TRIGGER_GROUP character varying(200) NOT NULL,
    JOB_NAME character varying(200) NOT NULL,
    JOB_GROUP character varying(200) NOT NULL,
    "DESCRIPTION" character varying(250) ,
    NEXT_FIRE_TIME bigint ,
    PREV_FIRE_TIME bigint ,
    "PRIORITY" integer ,
    TRIGGER_STATE character varying(16) NOT NULL,
    TRIGGER_TYPE character varying(8) NOT NULL,
    START_TIME bigint NOT NULL,
    END_TIME bigint ,
    CALENDAR_NAME character varying(200) ,
    MISFIRE_INSTR smallint ,
    JOB_DATA blob , 
    CONSTRAINT QRTZ_TRIGGERS_PK PRIMARY KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP), 
    CONSTRAINT QRTZ_TRIGGERS_IBFK_1 FOREIGN KEY (SCHED_NAME, JOB_NAME, JOB_GROUP) REFERENCES RY_SHENTONG.QRTZ_JOB_DETAILS(SCHED_NAME, JOB_NAME, JOB_GROUP)
)  
 ; 
CREATE TABLE RY_SHENTONG.GEN_TABLE
(
TABLE_ID BIGINT DEFAULT RY_SHENTONG.SEQ_TABLE_ID.nextval NOT NULL,
    TABLE_NAME character varying(200) DEFAULT '' ,
    TABLE_COMMENT character varying(500) DEFAULT '' ,
    SUB_TABLE_NAME character varying(64) ,
    SUB_TABLE_FK_NAME character varying(64) ,
    CLASS_NAME character varying(100) DEFAULT '' ,
    TPL_CATEGORY character varying(200) DEFAULT 'crud' ,
    PACKAGE_NAME character varying(100) ,
    MODULE_NAME character varying(30) ,
    BUSINESS_NAME character varying(30) ,
    FUNCTION_NAME character varying(50) ,
    FUNCTION_AUTHOR character varying(50) ,
    GEN_TYPE character(1) DEFAULT '0' ,
    GEN_PATH character varying(200) DEFAULT '/' ,
    OPTIONS character varying(1000) ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) , 
    CONSTRAINT GEN_TABLE_PK PRIMARY KEY (TABLE_ID)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.GEN_TABLE_COLUMN
(
COLUMN_ID BIGINT DEFAULT RY_SHENTONG.SEQ_COLUMN_ID.nextval NOT NULL,
    TABLE_ID bigint ,
    COLUMN_NAME character varying(200) ,
    COLUMN_COMMENT character varying(500) ,
    COLUMN_TYPE character varying(100) ,
    JAVA_TYPE character varying(500) ,
    JAVA_FIELD character varying(200) ,
    IS_PK character(1) ,
    IS_INCREMENT character(1) ,
    IS_REQUIRED character(1) ,
    IS_INSERT character(1) ,
    IS_EDIT character(1) ,
    IS_LIST character(1) ,
    IS_QUERY character(1) ,
    QUERY_TYPE character varying(200) DEFAULT 'EQ' ,
    HTML_TYPE character varying(200) ,
    DICT_TYPE character varying(200) DEFAULT '' ,
    SORT integer ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone , 
    CONSTRAINT GEN_TABLE_COLUMN_PK PRIMARY KEY (COLUMN_ID)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_BLOB_TRIGGERS
(
    SCHED_NAME character varying(120) NOT NULL,
    TRIGGER_NAME character varying(200) NOT NULL,
    TRIGGER_GROUP character varying(200) NOT NULL,
    BLOB_DATA blob , 
    CONSTRAINT QRTZ_BLOB_TRIGGERS_PK PRIMARY KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP), 
    CONSTRAINT QRTZ_BLOB_TRIGGERS_IBFK_1 FOREIGN KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP) REFERENCES RY_SHENTONG.QRTZ_TRIGGERS(SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_CALENDARS
(
    SCHED_NAME character varying(120) NOT NULL,
    CALENDAR_NAME character varying(200) NOT NULL,
    CALENDAR blob NOT NULL, 
    CONSTRAINT QRTZ_CALENDARS_PK PRIMARY KEY (SCHED_NAME, CALENDAR_NAME)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_CRON_TRIGGERS
(
    SCHED_NAME character varying(120) NOT NULL,
    TRIGGER_NAME character varying(200) NOT NULL,
    TRIGGER_GROUP character varying(200) NOT NULL,
    CRON_EXPRESSION character varying(200) NOT NULL,
    TIME_ZONE_ID character varying(80) , 
    CONSTRAINT QRTZ_CRON_TRIGGERS_PK PRIMARY KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP), 
    CONSTRAINT QRTZ_CRON_TRIGGERS_IBFK_1 FOREIGN KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP) REFERENCES RY_SHENTONG.QRTZ_TRIGGERS(SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_FIRED_TRIGGERS
(
    SCHED_NAME character varying(120) NOT NULL,
    ENTRY_ID character varying(95) NOT NULL,
    TRIGGER_NAME character varying(200) NOT NULL,
    TRIGGER_GROUP character varying(200) NOT NULL,
    INSTANCE_NAME character varying(200) NOT NULL,
    FIRED_TIME bigint NOT NULL,
    SCHED_TIME bigint NOT NULL,
    "PRIORITY" integer NOT NULL,
    STATE character varying(16) NOT NULL,
    JOB_NAME character varying(200) ,
    JOB_GROUP character varying(200) ,
    IS_NONCONCURRENT character varying(1) ,
    REQUESTS_RECOVERY character varying(1) , 
    CONSTRAINT QRTZ_FIRED_TRIGGERS_PK PRIMARY KEY (SCHED_NAME, ENTRY_ID)
)  
 ;
--Indexes DDL
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_LOCKS
(
    SCHED_NAME character varying(120) NOT NULL,
    LOCK_NAME character varying(40) NOT NULL, 
    CONSTRAINT QRTZ_LOCKS_PK PRIMARY KEY (SCHED_NAME, LOCK_NAME)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_PAUSED_TRIGGER_GRPS
(
    SCHED_NAME character varying(120) NOT NULL,
    TRIGGER_GROUP character varying(200) NOT NULL, 
    CONSTRAINT QRTZ_PAUSED_TRIGGER_GRPS_PK PRIMARY KEY (SCHED_NAME, TRIGGER_GROUP)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_SCHEDULER_STATE
(
    SCHED_NAME character varying(120) NOT NULL,
    INSTANCE_NAME character varying(200) NOT NULL,
    LAST_CHECKIN_TIME bigint NOT NULL,
    CHECKIN_INTERVAL bigint NOT NULL, 
    CONSTRAINT QRTZ_SCHEDULER_STATE_PK PRIMARY KEY (SCHED_NAME, INSTANCE_NAME)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_SIMPLE_TRIGGERS
(
    SCHED_NAME character varying(120) NOT NULL,
    TRIGGER_NAME character varying(200) NOT NULL,
    TRIGGER_GROUP character varying(200) NOT NULL,
    REPEAT_COUNT bigint NOT NULL,
    REPEAT_INTERVAL bigint NOT NULL,
    TIMES_TRIGGERED bigint NOT NULL, 
    CONSTRAINT QRTZ_SIMPLE_TRIGGERS_PK PRIMARY KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP), 
    CONSTRAINT QRTZ_SIMPLE_TRIGGERS_IBFK_1 FOREIGN KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP) REFERENCES RY_SHENTONG.QRTZ_TRIGGERS(SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS
(
    SCHED_NAME character varying(120) NOT NULL,
    TRIGGER_NAME character varying(200) NOT NULL,
    TRIGGER_GROUP character varying(200) NOT NULL,
    STR_PROP_1 character varying(512) ,
    STR_PROP_2 character varying(512) ,
    STR_PROP_3 character varying(512) ,
    INT_PROP_1 integer ,
    INT_PROP_2 integer ,
    LONG_PROP_1 bigint ,
    LONG_PROP_2 bigint ,
    DEC_PROP_1 double precision ,
    DEC_PROP_2 double precision ,
    BOOL_PROP_1 character varying(1) ,
    BOOL_PROP_2 character varying(1) , 
    CONSTRAINT QRTZ_SIMPROP_TRIGGERS_PK PRIMARY KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP), 
    CONSTRAINT QRTZ_SIMPROP_TRIGGERS_IBFK_1 FOREIGN KEY (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP) REFERENCES RY_SHENTONG.QRTZ_TRIGGERS(SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP)
)  
 ;
--Indexes DDL

--Indexes DDL
CREATE INDEX QRTZ_TRIGGERS_I_SCHED_NAME ON RY_SHENTONG.QRTZ_TRIGGERS USING BTREE(SCHED_NAME, JOB_NAME, JOB_GROUP) ;

CREATE TABLE RY_SHENTONG.SYS_CONFIG
(
CONFIG_ID INTEGER DEFAULT RY_SHENTONG.SEQ_CONFIG_ID.nextval NOT NULL,
    CONFIG_NAME character varying(100) DEFAULT '' ,
    CONFIG_KEY character varying(100) DEFAULT '' ,
    CONFIG_VALUE character varying(500) DEFAULT '' ,
    CONFIG_TYPE character(1) DEFAULT 'N' ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) , 
    CONSTRAINT SYS_CONFIG_PK PRIMARY KEY (CONFIG_ID)
)   
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_DEPT
(
DEPT_ID BIGINT DEFAULT RY_SHENTONG.SEQ_DEPT_ID.nextval NOT NULL,
    PARENT_ID bigint DEFAULT 0 ,
    ANCESTORS character varying(50) DEFAULT '' ,
    DEPT_NAME character varying(30) DEFAULT '' ,
    ORDER_NUM integer DEFAULT 0 ,
    LEADER character varying(20) ,
    PHONE character varying(11) ,
    EMAIL character varying(50) ,
    STATUS character(1) DEFAULT '0' ,
    DEL_FLAG character(1) DEFAULT '0' ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone , 
    CONSTRAINT SYS_DEPT_PK PRIMARY KEY (DEPT_ID)
)   
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_DICT_DATA
(
DICT_CODE BIGINT DEFAULT RY_SHENTONG.SEQ_DICT_CODE.nextval NOT NULL,
    DICT_SORT integer DEFAULT 0 ,
    DICT_LABEL character varying(100) DEFAULT '' ,
    DICT_VALUE character varying(100) DEFAULT '' ,
    DICT_TYPE character varying(100) DEFAULT '' ,
    CSS_CLASS character varying(100) ,
    LIST_CLASS character varying(100) ,
    IS_DEFAULT character(1) DEFAULT 'N' ,
    STATUS character(1) DEFAULT '0' ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) , 
    CONSTRAINT SYS_DICT_DATA_PK PRIMARY KEY (DICT_CODE)
)   
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_DICT_TYPE
(
DICT_ID BIGINT DEFAULT RY_SHENTONG.SEQ_DICT_ID.nextval NOT NULL,
    DICT_NAME character varying(100) DEFAULT '' ,
    DICT_TYPE character varying(100) DEFAULT '' ,
    STATUS character(1) DEFAULT '0' ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) , 
    CONSTRAINT SYS_DICT_TYPE_PK PRIMARY KEY (DICT_ID), 
    CONSTRAINT SYS_DICT_TYPE_DICT_TYPE_KEY UNIQUE (DICT_TYPE)
)   
 ;

CREATE TABLE RY_SHENTONG.SYS_JOB_LOG
(
JOB_LOG_ID BIGINT DEFAULT RY_SHENTONG.SEQ_JOB_LOG_ID.nextval NOT NULL,
    JOB_NAME character varying(64) NOT NULL,
    JOB_GROUP character varying(64) NOT NULL,
    INVOKE_TARGET character varying(500) NOT NULL,
    JOB_MESSAGE character varying(500) ,
    STATUS character(1) DEFAULT '0' ,
    EXCEPTION_INFO character varying(2000) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone , 
    CONSTRAINT SYS_JOB_LOG_PK PRIMARY KEY (JOB_LOG_ID)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_LOGININFOR
(
INFO_ID BIGINT DEFAULT RY_SHENTONG.SEQ_INFO_ID.nextval NOT NULL,
    LOGIN_NAME character varying(50) DEFAULT '' ,
    IPADDR character varying(128) DEFAULT '' ,
    LOGIN_LOCATION character varying(255) DEFAULT '' ,
    BROWSER character varying(50) DEFAULT '' ,
    OS character varying(50) DEFAULT '' ,
    STATUS character(1) DEFAULT '0' ,
    MSG character varying(255) DEFAULT '' ,
    LOGIN_TIME timestamp(0) without time zone , 
    CONSTRAINT SYS_LOGININFOR_PK PRIMARY KEY (INFO_ID)
)   
 ;
--Indexes DDL
CREATE INDEX SYS_LOGININFOR_I_IDX_SYS_LOGININFOR_LT ON RY_SHENTONG.SYS_LOGININFOR USING BTREE(LOGIN_TIME) ;
CREATE INDEX SYS_LOGININFOR_I_IDX_SYS_LOGININFOR_S ON RY_SHENTONG.SYS_LOGININFOR USING BTREE(STATUS) ;

CREATE TABLE RY_SHENTONG.SYS_MENU
(
MENU_ID BIGINT DEFAULT RY_SHENTONG.SEQ_MENU_ID.nextval NOT NULL,
    MENU_NAME character varying(50) NOT NULL,
    PARENT_ID bigint DEFAULT 0 ,
    ORDER_NUM integer DEFAULT 0 ,
    URL character varying(200) DEFAULT '#' ,
    TARGET character varying(20) DEFAULT '' ,
    MENU_TYPE character(1) DEFAULT '' ,
    "VISIBLE" character(1) DEFAULT '0' ,
    IS_REFRESH character(1) DEFAULT '1' ,
    PERMS character varying(100) ,
    ICON character varying(100) DEFAULT '#' ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) DEFAULT '' , 
    CONSTRAINT SYS_MENU_PK PRIMARY KEY (MENU_ID)
)   
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_NOTICE
(
NOTICE_ID INTEGER DEFAULT RY_SHENTONG.SEQ_NOTICE_ID.nextval NOT NULL,
    NOTICE_TITLE character varying(50) NOT NULL,
    NOTICE_TYPE character(1) NOT NULL,
    NOTICE_CONTENT character varying(2000) ,
    STATUS character(1) DEFAULT '0' ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(255) , 
    CONSTRAINT SYS_NOTICE_PK PRIMARY KEY (NOTICE_ID)
)   
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_OPER_LOG
(
OPER_ID BIGINT DEFAULT RY_SHENTONG.SEQ_OPER_ID.nextval NOT NULL,
    TITLE character varying(50) DEFAULT '' ,
    BUSINESS_TYPE integer DEFAULT 0 ,
    METHOD character varying(100) DEFAULT '' ,
    REQUEST_METHOD character varying(10) DEFAULT '' ,
    OPERATOR_TYPE integer DEFAULT 0 ,
    OPER_NAME character varying(50) DEFAULT '' ,
    DEPT_NAME character varying(50) DEFAULT '' ,
    OPER_URL character varying(255) DEFAULT '' ,
    OPER_IP character varying(128) DEFAULT '' ,
    OPER_LOCATION character varying(255) DEFAULT '' ,
    OPER_PARAM character varying(2000) DEFAULT '' ,
    JSON_RESULT character varying(2000) DEFAULT '' ,
    STATUS integer DEFAULT 0 ,
    ERROR_MSG character varying(2000) DEFAULT '' ,
    OPER_TIME timestamp(0) without time zone ,
    COST_TIME bigint DEFAULT 0 , 
    CONSTRAINT SYS_OPER_LOG_PK PRIMARY KEY (OPER_ID)
)  
 ;
 
--Indexes DDL
CREATE INDEX SYS_OPER_LOG_I_IDX_SYS_OPER_LOG_BT ON RY_SHENTONG.SYS_OPER_LOG USING BTREE(BUSINESS_TYPE) ;
CREATE INDEX SYS_OPER_LOG_I_IDX_SYS_OPER_LOG_OT ON RY_SHENTONG.SYS_OPER_LOG USING BTREE(OPER_TIME) ;
CREATE INDEX SYS_OPER_LOG_I_IDX_SYS_OPER_LOG_S ON RY_SHENTONG.SYS_OPER_LOG USING BTREE(STATUS) ;

CREATE TABLE RY_SHENTONG.SYS_POST
(
POST_ID BIGINT DEFAULT RY_SHENTONG.SEQ_POST_ID.nextval NOT NULL,
    POST_CODE character varying(64) NOT NULL,
    POST_NAME character varying(50) NOT NULL,
    POST_SORT integer NOT NULL,
    STATUS character(1) NOT NULL,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) , 
    CONSTRAINT SYS_POST_PK PRIMARY KEY (POST_ID)
)   
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_ROLE
(
ROLE_ID BIGINT DEFAULT RY_SHENTONG.SEQ_ROLE_ID.nextval NOT NULL,
    ROLE_NAME character varying(30) NOT NULL,
    ROLE_KEY character varying(100) NOT NULL,
    ROLE_SORT integer NOT NULL,
    DATA_SCOPE character(1) DEFAULT '1' ,
    STATUS character(1) NOT NULL,
    DEL_FLAG character(1) DEFAULT '0' ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) , 
    CONSTRAINT SYS_ROLE_PK PRIMARY KEY (ROLE_ID)
)   
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_ROLE_DEPT
(
    ROLE_ID bigint NOT NULL,
    DEPT_ID bigint NOT NULL, 
    CONSTRAINT SYS_ROLE_DEPT_PK PRIMARY KEY (ROLE_ID, DEPT_ID)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_ROLE_MENU
(
    ROLE_ID bigint NOT NULL,
    MENU_ID bigint NOT NULL, 
    CONSTRAINT SYS_ROLE_MENU_PK PRIMARY KEY (ROLE_ID, MENU_ID)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_USER
(
USER_ID BIGINT DEFAULT RY_SHENTONG.SEQ_USER_ID.nextval NOT NULL,
    DEPT_ID bigint ,
    LOGIN_NAME character varying(30) NOT NULL,
    USER_NAME character varying(30) DEFAULT '' ,
    USER_TYPE character varying(2) DEFAULT '00' ,
    EMAIL character varying(50) DEFAULT '' ,
    PHONENUMBER character varying(11) DEFAULT '' ,
    SEX character(1) DEFAULT '0' ,
    AVATAR character varying(100) DEFAULT '' ,
    "PASSWORD" character varying(50) DEFAULT '' ,
    SALT character varying(20) DEFAULT '' ,
    STATUS character(1) DEFAULT '0' ,
    DEL_FLAG character(1) DEFAULT '0' ,
    LOGIN_IP character varying(128) DEFAULT '' ,
    LOGIN_DATE timestamp(0) without time zone ,
    PWD_UPDATE_DATE timestamp(0) without time zone ,
    CREATE_BY character varying(64) DEFAULT '' ,
    CREATE_TIME timestamp(0) without time zone ,
    UPDATE_BY character varying(64) DEFAULT '' ,
    UPDATE_TIME timestamp(0) without time zone ,
    REMARK character varying(500) , 
    CONSTRAINT SYS_USER_PK PRIMARY KEY (USER_ID)
)   
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_USER_ONLINE
(
    SESSIONID character varying(50) DEFAULT '' NOT NULL,
    LOGIN_NAME character varying(50) DEFAULT '' ,
    DEPT_NAME character varying(50) DEFAULT '' ,
    IPADDR character varying(128) DEFAULT '' ,
    LOGIN_LOCATION character varying(255) DEFAULT '' ,
    BROWSER character varying(50) DEFAULT '' ,
    OS character varying(50) DEFAULT '' ,
    STATUS character varying(10) DEFAULT '' ,
    START_TIMESTAMP timestamp(0) without time zone ,
    LAST_ACCESS_TIME timestamp(0) without time zone ,
    EXPIRE_TIME integer DEFAULT 0 , 
    CONSTRAINT SYS_USER_ONLINE_PK PRIMARY KEY (SESSIONID)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_USER_POST
(
    USER_ID bigint NOT NULL,
    POST_ID bigint NOT NULL, 
    CONSTRAINT SYS_USER_POST_PK PRIMARY KEY (USER_ID, POST_ID)
)  
 ;
--Indexes DDL

CREATE TABLE RY_SHENTONG.SYS_USER_ROLE
(
    USER_ID bigint NOT NULL,
    ROLE_ID bigint NOT NULL, 
    CONSTRAINT SYS_USER_ROLE_PK PRIMARY KEY (USER_ID, ROLE_ID)
)  
 ;
--Indexes DDL




INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '初始化密码 123456');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '深黑主题theme-dark，浅色主题theme-light，深蓝主题theme-blue');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(4, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '是否开启注册用户功能（true开启，false关闭）');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(5, '用户管理-密码字符范围', 'sys.account.chrtype', '0', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '默认任意字符范围，0任意（密码可以输入任意字符），1数字（密码只能为0-9数字），2英文字母（密码只能为a-z和A-Z字母），3字母和数字（密码必须包含字母，数字）,4字母数字和特殊字符（目前支持的特殊字符包括：~!@#$%^&*()-=_+）');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(6, '用户管理-初始密码修改策略', 'sys.account.initPasswordModify', '0', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '0：初始密码修改策略关闭，没有任何提示，1：提醒用户，如果未修改初始密码，则在登录时就会提醒修改密码对话框');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(7, '用户管理-账号密码更新周期', 'sys.account.passwordValidateDays', '0', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '密码更新周期（填写数字，数据初始化值为0不限制，若修改必须为大于0小于365的正整数），如果超过这个周期登录系统时，则在登录时就会提醒修改密码对话框');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(8, '主框架页-菜单导航显示风格', 'sys.index.menuStyle', 'default', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '菜单导航显示风格（default为左侧导航菜单，topnav为顶部导航菜单）');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(9, '主框架页-是否开启页脚', 'sys.index.footer', 'true', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '是否开启底部页脚显示（true显示，false隐藏）');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(10, '主框架页-是否开启页签', 'sys.index.tagsView', 'true', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '是否开启菜单多页签显示（true显示，false隐藏）');
INSERT INTO RY_SHENTONG.SYS_CONFIG
(CONFIG_ID, CONFIG_NAME, CONFIG_KEY, CONFIG_VALUE, CONFIG_TYPE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(11, '用户登录-黑名单列表', 'sys.login.blackIPList', '', 'Y', 'admin', '2024-01-22 14:26:16.000', '', NULL, '设置登录IP黑名单限制，多个匹配项以;分隔，支持匹配（*通配、网段）');



INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(100, 0, '0', '若依科技', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(101, 100, '0,100', '深圳总公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(108, 102, '0,100,102', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);
INSERT INTO RY_SHENTONG.SYS_DEPT
(DEPT_ID, PARENT_ID, ANCESTORS, DEPT_NAME, ORDER_NUM, LEADER, PHONE, EMAIL, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME)
VALUES(109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL);




INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '性别男');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '性别女');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '性别未知');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '显示菜单');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '隐藏菜单');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '正常状态');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '停用状态');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '正常状态');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '停用状态');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '默认分组');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统分组');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统默认是');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统默认否');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '通知');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '公告');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '正常状态');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '关闭状态');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(18, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '其他操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(19, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '新增操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(20, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '修改操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(21, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '删除操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(22, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '授权操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(23, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '导出操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(24, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '导入操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(25, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '强退操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(26, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '生成操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(27, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '清空操作');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(28, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '正常状态');
INSERT INTO RY_SHENTONG.SYS_DICT_DATA
(DICT_CODE, DICT_SORT, DICT_LABEL, DICT_VALUE, DICT_TYPE, CSS_CLASS, LIST_CLASS, IS_DEFAULT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(29, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '停用状态');




INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, '用户性别', 'sys_user_sex', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '用户性别列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, '菜单状态', 'sys_show_hide', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '菜单状态列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(3, '系统开关', 'sys_normal_disable', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统开关列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(4, '任务状态', 'sys_job_status', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '任务状态列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(5, '任务分组', 'sys_job_group', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '任务分组列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(6, '系统是否', 'sys_yes_no', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统是否列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(7, '通知类型', 'sys_notice_type', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '通知类型列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(8, '通知状态', 'sys_notice_status', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '通知状态列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(9, '操作类型', 'sys_oper_type', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '操作类型列表');
INSERT INTO RY_SHENTONG.SYS_DICT_TYPE
(DICT_ID, DICT_NAME, DICT_TYPE, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(10, '系统状态', 'sys_common_status', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '登录状态列表');



INSERT INTO RY_SHENTONG.SYS_JOB
(JOB_ID, JOB_NAME, JOB_GROUP, INVOKE_TARGET, CRON_EXPRESSION, MISFIRE_POLICY, CONCURRENT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, '系统默认（无参）', 'DEFAULT', 'ryTask.ryNoParams', '0/10 * * * * ?', '3', '1', '1', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_JOB
(JOB_ID, JOB_NAME, JOB_GROUP, INVOKE_TARGET, CRON_EXPRESSION, MISFIRE_POLICY, CONCURRENT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, '系统默认（有参）', 'DEFAULT', 'ryTask.ryParams(''ry'')', '0/15 * * * * ?', '3', '1', '1', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_JOB
(JOB_ID, JOB_NAME, JOB_GROUP, INVOKE_TARGET, CRON_EXPRESSION, MISFIRE_POLICY, CONCURRENT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(3, '系统默认（多参）', 'DEFAULT', 'ryTask.ryMultipleParams(''ry'', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');






INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, '系统管理', 0, 1, '#', '', 'M', '0', '1', '', 'fa fa-gear', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统管理目录');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, '系统监控', 0, 2, '#', '', 'M', '0', '1', '', 'fa fa-video-camera', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统监控目录');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(3, '系统工具', 0, 3, '#', '', 'M', '0', '1', '', 'fa fa-bars', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统工具目录');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(4, '若依官网', 0, 4, 'http://ruoyi.vip', 'menuBlank', 'C', '0', '1', '', 'fa fa-location-arrow', 'admin', '2024-01-22 14:26:16.000', '', NULL, '若依官网地址');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(100, '用户管理', 1, 1, '/system/user', '', 'C', '0', '1', 'system:user:view', 'fa fa-user-o', 'admin', '2024-01-22 14:26:16.000', '', NULL, '用户管理菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(101, '角色管理', 1, 2, '/system/role', '', 'C', '0', '1', 'system:role:view', 'fa fa-user-secret', 'admin', '2024-01-22 14:26:16.000', '', NULL, '角色管理菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(102, '菜单管理', 1, 3, '/system/menu', '', 'C', '0', '1', 'system:menu:view', 'fa fa-th-list', 'admin', '2024-01-22 14:26:16.000', '', NULL, '菜单管理菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(103, '部门管理', 1, 4, '/system/dept', '', 'C', '0', '1', 'system:dept:view', 'fa fa-outdent', 'admin', '2024-01-22 14:26:16.000', '', NULL, '部门管理菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(104, '岗位管理', 1, 5, '/system/post', '', 'C', '0', '1', 'system:post:view', 'fa fa-address-card-o', 'admin', '2024-01-22 14:26:16.000', '', NULL, '岗位管理菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(105, '字典管理', 1, 6, '/system/dict', '', 'C', '0', '1', 'system:dict:view', 'fa fa-bookmark-o', 'admin', '2024-01-22 14:26:16.000', '', NULL, '字典管理菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(106, '参数设置', 1, 7, '/system/config', '', 'C', '0', '1', 'system:config:view', 'fa fa-sun-o', 'admin', '2024-01-22 14:26:16.000', '', NULL, '参数设置菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(107, '通知公告', 1, 8, '/system/notice', '', 'C', '0', '1', 'system:notice:view', 'fa fa-bullhorn', 'admin', '2024-01-22 14:26:16.000', '', NULL, '通知公告菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(108, '日志管理', 1, 9, '#', '', 'M', '0', '1', '', 'fa fa-pencil-square-o', 'admin', '2024-01-22 14:26:16.000', '', NULL, '日志管理菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(109, '在线用户', 2, 1, '/monitor/online', '', 'C', '0', '1', 'monitor:online:view', 'fa fa-user-circle', 'admin', '2024-01-22 14:26:16.000', '', NULL, '在线用户菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(110, '定时任务', 2, 2, '/monitor/job', '', 'C', '0', '1', 'monitor:job:view', 'fa fa-tasks', 'admin', '2024-01-22 14:26:16.000', '', NULL, '定时任务菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(111, '数据监控', 2, 3, '/monitor/data', '', 'C', '0', '1', 'monitor:data:view', 'fa fa-bug', 'admin', '2024-01-22 14:26:16.000', '', NULL, '数据监控菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(112, '服务监控', 2, 4, '/monitor/server', '', 'C', '0', '1', 'monitor:server:view', 'fa fa-server', 'admin', '2024-01-22 14:26:16.000', '', NULL, '服务监控菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(113, '缓存监控', 2, 5, '/monitor/cache', '', 'C', '0', '1', 'monitor:cache:view', 'fa fa-cube', 'admin', '2024-01-22 14:26:16.000', '', NULL, '缓存监控菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(114, '表单构建', 3, 1, '/tool/build', '', 'C', '0', '1', 'tool:build:view', 'fa fa-wpforms', 'admin', '2024-01-22 14:26:16.000', '', NULL, '表单构建菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(115, '代码生成', 3, 2, '/tool/gen', '', 'C', '0', '1', 'tool:gen:view', 'fa fa-code', 'admin', '2024-01-22 14:26:16.000', '', NULL, '代码生成菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(116, '系统接口', 3, 3, '/tool/swagger', '', 'C', '0', '1', 'tool:swagger:view', 'fa fa-gg', 'admin', '2024-01-22 14:26:16.000', '', NULL, '系统接口菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(500, '操作日志', 108, 1, '/monitor/operlog', '', 'C', '0', '1', 'monitor:operlog:view', 'fa fa-address-book', 'admin', '2024-01-22 14:26:16.000', '', NULL, '操作日志菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(501, '登录日志', 108, 2, '/monitor/logininfor', '', 'C', '0', '1', 'monitor:logininfor:view', 'fa fa-file-image-o', 'admin', '2024-01-22 14:26:16.000', '', NULL, '登录日志菜单');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1000, '用户查询', 100, 1, '#', '', 'F', '0', '1', 'system:user:list', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1001, '用户新增', 100, 2, '#', '', 'F', '0', '1', 'system:user:add', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1002, '用户修改', 100, 3, '#', '', 'F', '0', '1', 'system:user:edit', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1003, '用户删除', 100, 4, '#', '', 'F', '0', '1', 'system:user:remove', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1004, '用户导出', 100, 5, '#', '', 'F', '0', '1', 'system:user:export', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1005, '用户导入', 100, 6, '#', '', 'F', '0', '1', 'system:user:import', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1006, '重置密码', 100, 7, '#', '', 'F', '0', '1', 'system:user:resetPwd', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1007, '角色查询', 101, 1, '#', '', 'F', '0', '1', 'system:role:list', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1008, '角色新增', 101, 2, '#', '', 'F', '0', '1', 'system:role:add', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1009, '角色修改', 101, 3, '#', '', 'F', '0', '1', 'system:role:edit', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1010, '角色删除', 101, 4, '#', '', 'F', '0', '1', 'system:role:remove', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1011, '角色导出', 101, 5, '#', '', 'F', '0', '1', 'system:role:export', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1012, '菜单查询', 102, 1, '#', '', 'F', '0', '1', 'system:menu:list', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1013, '菜单新增', 102, 2, '#', '', 'F', '0', '1', 'system:menu:add', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1014, '菜单修改', 102, 3, '#', '', 'F', '0', '1', 'system:menu:edit', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1015, '菜单删除', 102, 4, '#', '', 'F', '0', '1', 'system:menu:remove', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1016, '部门查询', 103, 1, '#', '', 'F', '0', '1', 'system:dept:list', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1017, '部门新增', 103, 2, '#', '', 'F', '0', '1', 'system:dept:add', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1018, '部门修改', 103, 3, '#', '', 'F', '0', '1', 'system:dept:edit', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1019, '部门删除', 103, 4, '#', '', 'F', '0', '1', 'system:dept:remove', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1020, '岗位查询', 104, 1, '#', '', 'F', '0', '1', 'system:post:list', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1021, '岗位新增', 104, 2, '#', '', 'F', '0', '1', 'system:post:add', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1022, '岗位修改', 104, 3, '#', '', 'F', '0', '1', 'system:post:edit', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1023, '岗位删除', 104, 4, '#', '', 'F', '0', '1', 'system:post:remove', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1024, '岗位导出', 104, 5, '#', '', 'F', '0', '1', 'system:post:export', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1025, '字典查询', 105, 1, '#', '', 'F', '0', '1', 'system:dict:list', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_MENU
(MENU_ID, MENU_NAME, PARENT_ID, ORDER_NUM, URL, TARGET, MENU_TYPE, "VISIBLE", IS_REFRESH, PERMS, ICON, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1026, '字典新增', 105, 2, '#', '', 'F', '0', '1', 'system:dict:add', '#', 'admin', '2024-01-22 14:26:16.000', '', NULL, '');



INSERT INTO RY_SHENTONG.SYS_NOTICE
(NOTICE_ID, NOTICE_TITLE, NOTICE_TYPE, NOTICE_CONTENT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, '温馨提醒：2018-07-01 若依新版本发布啦', '2', '新版本内容', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '管理员');
INSERT INTO RY_SHENTONG.SYS_NOTICE
(NOTICE_ID, NOTICE_TITLE, NOTICE_TYPE, NOTICE_CONTENT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, '维护通知：2018-07-01 若依系统凌晨维护', '1', '维护内容', '0', 'admin', '2024-01-22 14:26:16.000', '', NULL, '管理员');



INSERT INTO RY_SHENTONG.SYS_POST
(POST_ID, POST_CODE, POST_NAME, POST_SORT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, 'ceo', '董事长', 1, '0', 'admin', '2024-01-22 14:26:15.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_POST
(POST_ID, POST_CODE, POST_NAME, POST_SORT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, 'se', '项目经理', 2, '0', 'admin', '2024-01-22 14:26:15.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_POST
(POST_ID, POST_CODE, POST_NAME, POST_SORT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(3, 'hr', '人力资源', 3, '0', 'admin', '2024-01-22 14:26:15.000', '', NULL, '');
INSERT INTO RY_SHENTONG.SYS_POST
(POST_ID, POST_CODE, POST_NAME, POST_SORT, STATUS, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(4, 'user', '普通员工', 4, '0', 'admin', '2024-01-22 14:26:15.000', '', NULL, '');



INSERT INTO RY_SHENTONG.SYS_ROLE
(ROLE_ID, ROLE_NAME, ROLE_KEY, ROLE_SORT, DATA_SCOPE, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, '超级管理员', 'admin', 1, '1', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL, '超级管理员');
INSERT INTO RY_SHENTONG.SYS_ROLE
(ROLE_ID, ROLE_NAME, ROLE_KEY, ROLE_SORT, DATA_SCOPE, STATUS, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, '普通角色', 'common', 2, '2', '0', '0', 'admin', '2024-01-22 14:26:15.000', '', NULL, '普通角色');



INSERT INTO RY_SHENTONG.SYS_ROLE_DEPT
(ROLE_ID, DEPT_ID)
VALUES(2, 100);
INSERT INTO RY_SHENTONG.SYS_ROLE_DEPT
(ROLE_ID, DEPT_ID)
VALUES(2, 101);
INSERT INTO RY_SHENTONG.SYS_ROLE_DEPT
(ROLE_ID, DEPT_ID)
VALUES(2, 105);


INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 2);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 3);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 4);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 100);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 101);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 102);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 103);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 104);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 105);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 106);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 107);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 108);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 109);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 110);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 111);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 112);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 113);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 114);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 115);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 116);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 500);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 501);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1000);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1001);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1002);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1003);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1004);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1005);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1006);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1007);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1008);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1009);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1010);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1011);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1012);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1013);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1014);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1015);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1016);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1017);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1018);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1019);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1020);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1021);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1022);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1023);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1024);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1025);
INSERT INTO RY_SHENTONG.SYS_ROLE_MENU
(ROLE_ID, MENU_ID)
VALUES(2, 1026);


INSERT INTO RY_SHENTONG.SYS_USER
(USER_ID, DEPT_ID, LOGIN_NAME, USER_NAME, USER_TYPE, EMAIL, PHONENUMBER, SEX, AVATAR, "PASSWORD", SALT, STATUS, DEL_FLAG, LOGIN_IP, LOGIN_DATE, PWD_UPDATE_DATE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(1, 103, 'admin', '若依', '00', 'ry@163.com', '15888888888', '1', '', '29c67a30398638269fe600f73a054934', '111111', '0', '0', '127.0.0.1', '2024-01-22 15:17:32.000', '2024-01-22 14:26:15.000', 'admin', '2024-01-22 14:26:15.000', '', '2024-01-22 15:17:32.000', '管理员');
INSERT INTO RY_SHENTONG.SYS_USER
(USER_ID, DEPT_ID, LOGIN_NAME, USER_NAME, USER_TYPE, EMAIL, PHONENUMBER, SEX, AVATAR, "PASSWORD", SALT, STATUS, DEL_FLAG, LOGIN_IP, LOGIN_DATE, PWD_UPDATE_DATE, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, REMARK)
VALUES(2, 105, 'ry', '若依', '00', 'ry@qq.com', '15666666666', '1', '', '8e6d98b90472783cc73c17047ddccf36', '222222', '0', '0', '127.0.0.1', '2024-01-22 14:26:15.000', '2024-01-22 14:26:15.000', 'admin', '2024-01-22 14:26:15.000', '', NULL, '测试员');



INSERT INTO RY_SHENTONG.SYS_USER_POST
(USER_ID, POST_ID)
VALUES(1, 1);
INSERT INTO RY_SHENTONG.SYS_USER_POST
(USER_ID, POST_ID)
VALUES(2, 2);


INSERT INTO RY_SHENTONG.SYS_USER_ROLE
(USER_ID, ROLE_ID)
VALUES(1, 1);
INSERT INTO RY_SHENTONG.SYS_USER_ROLE
(USER_ID, ROLE_ID)
VALUES(2, 2);


COMMENT ON TABLE RY_SHENTONG.GEN_TABLE IS '代码生成业务表';
COMMENT ON TABLE RY_SHENTONG.GEN_TABLE_COLUMN IS '代码生成业务表字段';
COMMENT ON TABLE RY_SHENTONG.QRTZ_BLOB_TRIGGERS IS 'Blob类型的触发器表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_CALENDARS IS '日历信息表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_CRON_TRIGGERS IS 'Cron类型的触发器表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_FIRED_TRIGGERS IS '已触发的触发器表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_JOB_DETAILS IS '任务详细信息表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_LOCKS IS '存储的悲观锁信息表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_PAUSED_TRIGGER_GRPS IS '暂停的触发器表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_SCHEDULER_STATE IS '调度器状态表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_SIMPLE_TRIGGERS IS '简单触发器的信息表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS IS '同步机制的行锁表';
COMMENT ON TABLE RY_SHENTONG.QRTZ_TRIGGERS IS '触发器详细信息表';
COMMENT ON TABLE RY_SHENTONG.SYS_CONFIG IS '参数配置表';
COMMENT ON TABLE RY_SHENTONG.SYS_DEPT IS '部门表';
COMMENT ON TABLE RY_SHENTONG.SYS_DICT_DATA IS '字典数据表';
COMMENT ON TABLE RY_SHENTONG.SYS_DICT_TYPE IS '字典类型表';
COMMENT ON TABLE RY_SHENTONG.SYS_JOB IS '定时任务调度表';
COMMENT ON TABLE RY_SHENTONG.SYS_JOB_LOG IS '定时任务调度日志表';
COMMENT ON TABLE RY_SHENTONG.SYS_LOGININFOR IS '系统访问记录';
COMMENT ON TABLE RY_SHENTONG.SYS_MENU IS '菜单权限表';
COMMENT ON TABLE RY_SHENTONG.SYS_NOTICE IS '通知公告表';
COMMENT ON TABLE RY_SHENTONG.SYS_OPER_LOG IS '操作日志记录';
COMMENT ON TABLE RY_SHENTONG.SYS_POST IS '岗位信息表';
COMMENT ON TABLE RY_SHENTONG.SYS_ROLE IS '角色信息表';
COMMENT ON TABLE RY_SHENTONG.SYS_ROLE_DEPT IS '角色和部门关联表';
COMMENT ON TABLE RY_SHENTONG.SYS_ROLE_MENU IS '角色和菜单关联表';
COMMENT ON TABLE RY_SHENTONG.SYS_USER IS '用户信息表';
COMMENT ON TABLE RY_SHENTONG.SYS_USER_ONLINE IS '在线用户记录';
COMMENT ON TABLE RY_SHENTONG.SYS_USER_POST IS '用户与岗位关联表';
COMMENT ON TABLE RY_SHENTONG.SYS_USER_ROLE IS '用户和角色关联表';



COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.TABLE_ID IS '编号';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.TABLE_NAME IS '表名称';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.TABLE_COMMENT IS '表描述';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.SUB_TABLE_NAME IS '关联子表的表名';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.SUB_TABLE_FK_NAME IS '子表关联的外键名';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.CLASS_NAME IS '实体类名称';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.TPL_CATEGORY IS '使用的模板（crud单表操作 tree树表操作 sub主子表操作）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.PACKAGE_NAME IS '生成包路径';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.MODULE_NAME IS '生成模块名';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.BUSINESS_NAME IS '生成业务名';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.FUNCTION_NAME IS '生成功能名';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.FUNCTION_AUTHOR IS '生成功能作者';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.GEN_TYPE IS '生成代码方式（0zip压缩包 1自定义路径）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.GEN_PATH IS '生成路径（不填默认项目路径）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.OPTIONS IS '其它生成选项';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.COLUMN_ID IS '编号';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.TABLE_ID IS '归属表编号';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.COLUMN_NAME IS '列名称';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.COLUMN_COMMENT IS '列描述';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.COLUMN_TYPE IS '列类型';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.JAVA_TYPE IS 'JAVA类型';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.JAVA_FIELD IS 'JAVA字段名';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.IS_PK IS '是否主键（1是）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.IS_INCREMENT IS '是否自增（1是）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.IS_REQUIRED IS '是否必填（1是）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.IS_INSERT IS '是否为插入字段（1是）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.IS_EDIT IS '是否编辑字段（1是）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.IS_LIST IS '是否列表字段（1是）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.IS_QUERY IS '是否查询字段（1是）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.QUERY_TYPE IS '查询方式（等于、不等于、大于、小于、范围）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.HTML_TYPE IS '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.DICT_TYPE IS '字典类型';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.SORT IS '排序';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.GEN_TABLE_COLUMN.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_BLOB_TRIGGERS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_BLOB_TRIGGERS.TRIGGER_NAME IS 'qrtz_triggers表trigger_name的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_BLOB_TRIGGERS.TRIGGER_GROUP IS 'qrtz_triggers表trigger_group的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_BLOB_TRIGGERS.BLOB_DATA IS '存放持久化Trigger对象';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_CALENDARS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_CALENDARS.CALENDAR_NAME IS '日历名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_CALENDARS.CALENDAR IS '存放持久化calendar对象';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_CRON_TRIGGERS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_CRON_TRIGGERS.TRIGGER_NAME IS 'qrtz_triggers表trigger_name的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_CRON_TRIGGERS.TRIGGER_GROUP IS 'qrtz_triggers表trigger_group的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_CRON_TRIGGERS.CRON_EXPRESSION IS 'cron表达式';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_CRON_TRIGGERS.TIME_ZONE_ID IS '时区';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.ENTRY_ID IS '调度器实例id';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.TRIGGER_NAME IS 'qrtz_triggers表trigger_name的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.TRIGGER_GROUP IS 'qrtz_triggers表trigger_group的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.INSTANCE_NAME IS '调度器实例名';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.FIRED_TIME IS '触发的时间';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.SCHED_TIME IS '定时器制定的时间';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.PRIORITY IS '优先级';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.STATE IS '状态';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.JOB_NAME IS '任务名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.JOB_GROUP IS '任务组名';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.IS_NONCONCURRENT IS '是否并发';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_FIRED_TRIGGERS.REQUESTS_RECOVERY IS '是否接受恢复执行';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.JOB_NAME IS '任务名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.JOB_GROUP IS '任务组名';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.DESCRIPTION IS '相关介绍';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.JOB_CLASS_NAME IS '执行任务类名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.IS_DURABLE IS '是否持久化';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.IS_NONCONCURRENT IS '是否并发';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.IS_UPDATE_DATA IS '是否更新数据';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.REQUESTS_RECOVERY IS '是否接受恢复执行';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_JOB_DETAILS.JOB_DATA IS '存放持久化job对象';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_LOCKS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_LOCKS.LOCK_NAME IS '悲观锁名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_PAUSED_TRIGGER_GRPS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_PAUSED_TRIGGER_GRPS.TRIGGER_GROUP IS 'qrtz_triggers表trigger_group的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SCHEDULER_STATE.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SCHEDULER_STATE.INSTANCE_NAME IS '实例名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SCHEDULER_STATE.LAST_CHECKIN_TIME IS '上次检查时间';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SCHEDULER_STATE.CHECKIN_INTERVAL IS '检查间隔时间';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPLE_TRIGGERS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPLE_TRIGGERS.TRIGGER_NAME IS 'qrtz_triggers表trigger_name的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPLE_TRIGGERS.TRIGGER_GROUP IS 'qrtz_triggers表trigger_group的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPLE_TRIGGERS.REPEAT_COUNT IS '重复的次数统计';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPLE_TRIGGERS.REPEAT_INTERVAL IS '重复的间隔时间';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPLE_TRIGGERS.TIMES_TRIGGERED IS '已经触发的次数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.TRIGGER_NAME IS 'qrtz_triggers表trigger_name的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.TRIGGER_GROUP IS 'qrtz_triggers表trigger_group的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.STR_PROP_1 IS 'String类型的trigger的第一个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.STR_PROP_2 IS 'String类型的trigger的第二个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.STR_PROP_3 IS 'String类型的trigger的第三个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.INT_PROP_1 IS 'int类型的trigger的第一个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.INT_PROP_2 IS 'int类型的trigger的第二个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.LONG_PROP_1 IS 'long类型的trigger的第一个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.LONG_PROP_2 IS 'long类型的trigger的第二个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.DEC_PROP_1 IS 'decimal类型的trigger的第一个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.DEC_PROP_2 IS 'decimal类型的trigger的第二个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.BOOL_PROP_1 IS 'Boolean类型的trigger的第一个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_SIMPROP_TRIGGERS.BOOL_PROP_2 IS 'Boolean类型的trigger的第二个参数';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.SCHED_NAME IS '调度名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.TRIGGER_NAME IS '触发器的名字';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.TRIGGER_GROUP IS '触发器所属组的名字';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.JOB_NAME IS 'qrtz_job_details表job_name的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.JOB_GROUP IS 'qrtz_job_details表job_group的外键';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.DESCRIPTION IS '相关介绍';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.NEXT_FIRE_TIME IS '上一次触发时间（毫秒）';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.PREV_FIRE_TIME IS '下一次触发时间（默认为-1表示不触发）';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.PRIORITY IS '优先级';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.TRIGGER_STATE IS '触发器状态';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.TRIGGER_TYPE IS '触发器的类型';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.START_TIME IS '开始时间';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.END_TIME IS '结束时间';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.CALENDAR_NAME IS '日程表名称';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.MISFIRE_INSTR IS '补偿执行的策略';
COMMENT ON COLUMN RY_SHENTONG.QRTZ_TRIGGERS.JOB_DATA IS '存放持久化job对象';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.CONFIG_ID IS '参数主键';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.CONFIG_NAME IS '参数名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.CONFIG_KEY IS '参数键名';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.CONFIG_VALUE IS '参数键值';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.CONFIG_TYPE IS '系统内置（Y是 N否）';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_CONFIG.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.DEPT_ID IS '部门id';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.PARENT_ID IS '父部门id';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.ANCESTORS IS '祖级列表';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.DEPT_NAME IS '部门名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.ORDER_NUM IS '显示顺序';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.LEADER IS '负责人';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.PHONE IS '联系电话';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.EMAIL IS '邮箱';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.STATUS IS '部门状态（0正常 1停用）';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.DEL_FLAG IS '删除标志（0代表存在 2代表删除）';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_DEPT.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.DICT_CODE IS '字典编码';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.DICT_SORT IS '字典排序';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.DICT_LABEL IS '字典标签';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.DICT_VALUE IS '字典键值';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.DICT_TYPE IS '字典类型';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.CSS_CLASS IS '样式属性（其他样式扩展）';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.LIST_CLASS IS '表格回显样式';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.IS_DEFAULT IS '是否默认（Y是 N否）';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.STATUS IS '状态（0正常 1停用）';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_DATA.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.DICT_ID IS '字典主键';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.DICT_NAME IS '字典名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.DICT_TYPE IS '字典类型';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.STATUS IS '状态（0正常 1停用）';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_DICT_TYPE.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.JOB_ID IS '任务ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.JOB_NAME IS '任务名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.JOB_GROUP IS '任务组名';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.INVOKE_TARGET IS '调用目标字符串';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.CRON_EXPRESSION IS 'cron执行表达式';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.MISFIRE_POLICY IS '计划执行错误策略（1立即执行 2执行一次 3放弃执行）';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.CONCURRENT IS '是否并发执行（0允许 1禁止）';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.STATUS IS '状态（0正常 1暂停）';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB.REMARK IS '备注信息';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB_LOG.JOB_LOG_ID IS '任务日志ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB_LOG.JOB_NAME IS '任务名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB_LOG.JOB_GROUP IS '任务组名';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB_LOG.INVOKE_TARGET IS '调用目标字符串';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB_LOG.JOB_MESSAGE IS '日志信息';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB_LOG.STATUS IS '执行状态（0正常 1失败）';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB_LOG.EXCEPTION_INFO IS '异常信息';
COMMENT ON COLUMN RY_SHENTONG.SYS_JOB_LOG.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.INFO_ID IS '访问ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.LOGIN_NAME IS '登录账号';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.IPADDR IS '登录IP地址';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.LOGIN_LOCATION IS '登录地点';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.BROWSER IS '浏览器类型';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.OS IS '操作系统';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.STATUS IS '登录状态（0成功 1失败）';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.MSG IS '提示消息';
COMMENT ON COLUMN RY_SHENTONG.SYS_LOGININFOR.LOGIN_TIME IS '访问时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.MENU_ID IS '菜单ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.MENU_NAME IS '菜单名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.PARENT_ID IS '父菜单ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.ORDER_NUM IS '显示顺序';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.URL IS '请求地址';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.TARGET IS '打开方式（menuItem页签 menuBlank新窗口）';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.MENU_TYPE IS '菜单类型（M目录 C菜单 F按钮）';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.VISIBLE IS '菜单状态（0显示 1隐藏）';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.IS_REFRESH IS '是否刷新（0刷新 1不刷新）';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.PERMS IS '权限标识';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.ICON IS '菜单图标';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_MENU.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.NOTICE_ID IS '公告ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.NOTICE_TITLE IS '公告标题';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.NOTICE_TYPE IS '公告类型（1通知 2公告）';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.NOTICE_CONTENT IS '公告内容';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.STATUS IS '公告状态（0正常 1关闭）';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_NOTICE.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.OPER_ID IS '日志主键';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.TITLE IS '模块标题';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.BUSINESS_TYPE IS '业务类型（0其它 1新增 2修改 3删除）';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.METHOD IS '方法名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.REQUEST_METHOD IS '请求方式';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.OPERATOR_TYPE IS '操作类别（0其它 1后台用户 2手机端用户）';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.OPER_NAME IS '操作人员';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.DEPT_NAME IS '部门名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.OPER_URL IS '请求URL';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.OPER_IP IS '主机地址';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.OPER_LOCATION IS '操作地点';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.OPER_PARAM IS '请求参数';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.JSON_RESULT IS '返回参数';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.STATUS IS '操作状态（0正常 1异常）';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.ERROR_MSG IS '错误消息';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.OPER_TIME IS '操作时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_OPER_LOG.COST_TIME IS '消耗时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.POST_ID IS '岗位ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.POST_CODE IS '岗位编码';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.POST_NAME IS '岗位名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.POST_SORT IS '显示顺序';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.STATUS IS '状态（0正常 1停用）';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_POST.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.ROLE_ID IS '角色ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.ROLE_NAME IS '角色名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.ROLE_KEY IS '角色权限字符串';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.ROLE_SORT IS '显示顺序';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.DATA_SCOPE IS '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.STATUS IS '角色状态（0正常 1停用）';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.DEL_FLAG IS '删除标志（0代表存在 2代表删除）';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE_DEPT.ROLE_ID IS '角色ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE_DEPT.DEPT_ID IS '部门ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE_MENU.ROLE_ID IS '角色ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_ROLE_MENU.MENU_ID IS '菜单ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.USER_ID IS '用户ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.DEPT_ID IS '部门ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.LOGIN_NAME IS '登录账号';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.USER_NAME IS '用户昵称';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.USER_TYPE IS '用户类型（00系统用户 01注册用户）';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.EMAIL IS '用户邮箱';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.PHONENUMBER IS '手机号码';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.SEX IS '用户性别（0男 1女 2未知）';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.AVATAR IS '头像路径';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.PASSWORD IS '密码';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.SALT IS '盐加密';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.STATUS IS '帐号状态（0正常 1停用）';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.DEL_FLAG IS '删除标志（0代表存在 2代表删除）';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.LOGIN_IP IS '最后登录IP';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.LOGIN_DATE IS '最后登录时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.PWD_UPDATE_DATE IS '密码最后更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.CREATE_BY IS '创建者';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.CREATE_TIME IS '创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.UPDATE_BY IS '更新者';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.UPDATE_TIME IS '更新时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER.REMARK IS '备注';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.SESSIONID IS '用户会话id';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.LOGIN_NAME IS '登录账号';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.DEPT_NAME IS '部门名称';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.IPADDR IS '登录IP地址';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.LOGIN_LOCATION IS '登录地点';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.BROWSER IS '浏览器类型';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.OS IS '操作系统';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.STATUS IS '在线状态on_line在线off_line离线';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.START_TIMESTAMP IS 'session创建时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.LAST_ACCESS_TIME IS 'session最后访问时间';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ONLINE.EXPIRE_TIME IS '超时时间，单位为分钟';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_POST.USER_ID IS '用户ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_POST.POST_ID IS '岗位ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ROLE.USER_ID IS '用户ID';
COMMENT ON COLUMN RY_SHENTONG.SYS_USER_ROLE.ROLE_ID IS '角色ID';
